package com.jic.member.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.rest.coupon.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 优惠券配置表
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:18:04
 */
@FeignClient(name = "jic-member",path = "/couponConfigApi")
public interface CouponConfigApi {

    /**
     * 批量发送优惠券
     * @param couponReceiveOfPersonRequest
     * @return
     */
    @PostMapping("sendCoupon")
    RestResult<Boolean> sendCoupon(SendCouponRequest couponReceiveOfPersonRequest);

}